<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Helpers.ByteString</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_Helpers-ByteString.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
></TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Helpers.ByteString</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>this module contains some helper function for ByteString
 related functionality
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3AandStr"
>andStr</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcolonW"
>colonW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdashW"
>dashW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AexclMarkW"
>exclMarkW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AglobW"
>globW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AnewlineW"
>newlineW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Anewline"
>newline</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AperiodW"
>periodW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AplusW"
>plusW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AquestMark"
>questMark</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AslashW"
>slashW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AspaceCharW"
>spaceCharW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AunderscoreW"
>underscoreW</A
> :: Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AbinStr"
>binStr</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcloseBracket"
>closeBracket</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Adash"
>dash</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdocStr"
>docStr</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AequalSign"
>equalSign</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AetcStr"
>etcStr</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AexclMark"
>exclMark</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aglob"
>glob</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Agreater"
>greater</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Agr_eq"
>gr_eq</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AincludeStr"
>includeStr</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AlibStr"
>libStr</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Alib64Str"
>lib64Str</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Alow_eq"
>low_eq</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AorSymbol"
>orSymbol</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AopenBracket"
>openBracket</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aplus"
>plus</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AsbinStr"
>sbinStr</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AshareStr"
>shareStr</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Asmaller"
>smaller</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AspaceChar"
>spaceChar</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Atilde"
>tilde</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AusrStr"
>usrStr</A
> :: ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Achar_to_Word8"
>char_to_Word8</A
> :: Char -&gt; Word8</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Aremove_last_newline"
>remove_last_newline</A
> :: ByteString -&gt; ByteString</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3Atokenize_BS"
>tokenize_BS</A
> :: ByteString -&gt; [ByteString]</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Documentation</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:andStr"
><A NAME="v%3AandStr"
></A
></A
><B
>andStr</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:colonW"
><A NAME="v%3AcolonW"
></A
></A
><B
>colonW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:dashW"
><A NAME="v%3AdashW"
></A
></A
><B
>dashW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:exclMarkW"
><A NAME="v%3AexclMarkW"
></A
></A
><B
>exclMarkW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:globW"
><A NAME="v%3AglobW"
></A
></A
><B
>globW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:newlineW"
><A NAME="v%3AnewlineW"
></A
></A
><B
>newlineW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:newline"
><A NAME="v%3Anewline"
></A
></A
><B
>newline</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:periodW"
><A NAME="v%3AperiodW"
></A
></A
><B
>periodW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:plusW"
><A NAME="v%3AplusW"
></A
></A
><B
>plusW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:questMark"
><A NAME="v%3AquestMark"
></A
></A
><B
>questMark</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:slashW"
><A NAME="v%3AslashW"
></A
></A
><B
>slashW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:spaceCharW"
><A NAME="v%3AspaceCharW"
></A
></A
><B
>spaceCharW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:underscoreW"
><A NAME="v%3AunderscoreW"
></A
></A
><B
>underscoreW</B
> :: Word8</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:binStr"
><A NAME="v%3AbinStr"
></A
></A
><B
>binStr</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:closeBracket"
><A NAME="v%3AcloseBracket"
></A
></A
><B
>closeBracket</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:dash"
><A NAME="v%3Adash"
></A
></A
><B
>dash</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:docStr"
><A NAME="v%3AdocStr"
></A
></A
><B
>docStr</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:equalSign"
><A NAME="v%3AequalSign"
></A
></A
><B
>equalSign</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:etcStr"
><A NAME="v%3AetcStr"
></A
></A
><B
>etcStr</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:exclMark"
><A NAME="v%3AexclMark"
></A
></A
><B
>exclMark</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:glob"
><A NAME="v%3Aglob"
></A
></A
><B
>glob</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:greater"
><A NAME="v%3Agreater"
></A
></A
><B
>greater</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:gr_eq"
><A NAME="v%3Agr_eq"
></A
></A
><B
>gr_eq</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:includeStr"
><A NAME="v%3AincludeStr"
></A
></A
><B
>includeStr</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:libStr"
><A NAME="v%3AlibStr"
></A
></A
><B
>libStr</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:lib64Str"
><A NAME="v%3Alib64Str"
></A
></A
><B
>lib64Str</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:low_eq"
><A NAME="v%3Alow_eq"
></A
></A
><B
>low_eq</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:orSymbol"
><A NAME="v%3AorSymbol"
></A
></A
><B
>orSymbol</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:openBracket"
><A NAME="v%3AopenBracket"
></A
></A
><B
>openBracket</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:plus"
><A NAME="v%3Aplus"
></A
></A
><B
>plus</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:sbinStr"
><A NAME="v%3AsbinStr"
></A
></A
><B
>sbinStr</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:shareStr"
><A NAME="v%3AshareStr"
></A
></A
><B
>shareStr</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:smaller"
><A NAME="v%3Asmaller"
></A
></A
><B
>smaller</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:spaceChar"
><A NAME="v%3AspaceChar"
></A
></A
><B
>spaceChar</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:tilde"
><A NAME="v%3Atilde"
></A
></A
><B
>tilde</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:usrStr"
><A NAME="v%3AusrStr"
></A
></A
><B
>usrStr</B
> :: ByteString</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:char_to_Word8"
><A NAME="v%3Achar_to_Word8"
></A
></A
><B
>char_to_Word8</B
> :: Char -&gt; Word8</TD
></TR
><TR
><TD CLASS="doc"
>convert char into Word8
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:remove_last_newline"
><A NAME="v%3Aremove_last_newline"
></A
></A
><B
>remove_last_newline</B
> :: ByteString -&gt; ByteString</TD
></TR
><TR
><TD CLASS="doc"
>if the last element in a ByteString is a newline,
 discard it, otherwise splitting the ByteString by
 newlines will result in an empty last element
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:tokenize_BS"
><A NAME="v%3Atokenize_BS"
></A
></A
><B
>tokenize_BS</B
> :: ByteString -&gt; [ByteString]</TD
></TR
><TR
><TD CLASS="doc"
>split ByteString into tokens separated by whitespace 
 (currently only spaces) making sure to remove any trailing
 newlines
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.4.2</TD
></TR
></TABLE
></BODY
></HTML
>
